namespace SinaFinance
{
    using System;
    using System.Diagnostics;
    using System.Windows;
    using System.Windows.Controls;
    using System.Windows.Media.Animation;
    using System.Windows.Shapes;

    public partial class loading : UserControl
    {
        //private bool _contentLoaded;
        //internal Grid LayoutRoot;
        //internal Storyboard loadingStory;
        //internal Storyboard loadingStory_Copy1;
        //internal Path p_1;
        //internal Path p_10;
        //internal Path p_11;
        //internal Path p_12;
        //internal Path p_13;
        //internal Path p_14;
        //internal Path p_2;
        //internal Path p_3;
        //internal Path p_4;
        //internal Path p_5;
        //internal Path p_6;
        //internal Path p_7;
        //internal Path p_8;
        //internal Path p_9;
        //internal Path p15;

        public loading()
        {
            this.InitializeComponent();
            this.loadingStory.Begin();
            this.loadingStory.Completed += new EventHandler(this.loadingStory_Completed);
            this.loadingStory_Copy1.Completed += new EventHandler(this.loadingStory_Copy1_Completed);
        }

        //[DebuggerNonUserCode]
        //public void InitializeComponent()
        //{
        //    if (!this._contentLoaded)
        //    {
        //        this._contentLoaded = true;
        //        Application.LoadComponent(this, new Uri("/SinaFinance;component/loading.xaml", UriKind.Relative));
        //        this.loadingStory = (Storyboard) base.FindName("loadingStory");
        //        this.loadingStory_Copy1 = (Storyboard) base.FindName("loadingStory_Copy1");
        //        this.LayoutRoot = (Grid) base.FindName("LayoutRoot");
        //        this.p_6 = (Path) base.FindName("p_6");
        //        this.p_7 = (Path) base.FindName("p_7");
        //        this.p_8 = (Path) base.FindName("p_8");
        //        this.p_9 = (Path) base.FindName("p_9");
        //        this.p_10 = (Path) base.FindName("p_10");
        //        this.p_11 = (Path) base.FindName("p_11");
        //        this.p_12 = (Path) base.FindName("p_12");
        //        this.p_13 = (Path) base.FindName("p_13");
        //        this.p_14 = (Path) base.FindName("p_14");
        //        this.p_1 = (Path) base.FindName("p_1");
        //        this.p_2 = (Path) base.FindName("p_2");
        //        this.p_3 = (Path) base.FindName("p_3");
        //        this.p_4 = (Path) base.FindName("p_4");
        //        this.p_5 = (Path) base.FindName("p_5");
        //        this.p15 = (Path) base.FindName("p15");
        //    }
        //}

        private void loadingStory_Completed(object sender, EventArgs e)
        {
            this.loadingStory_Copy1.Begin();
        }

        private void loadingStory_Copy1_Completed(object sender, EventArgs e)
        {
            this.loadingStory.Begin();
        }
    }
}
